<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/3/30
  Time: 16:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>第二个页面</title>
  </head>
  <script src="js/jquery-1.8.3.js" type="text/javascript"></script>
  <body>
  这是第二个页面
    <%!
        int x=100;
        int sum(int a,int b){
            return a+b;
        }
    %>
  10+20=<%=sum(10,20)%><br/>
  30+30=<%=sum(30,30)%><br/>
  x=<%=x%>
  <span id="s1">12321</span>

  </body>
  <script>
      $(function () {
          $("span").css("background","red");
      })
  </script>
</html>
